<?php
namespace app\admin\controller;
use think\Controller;

class Base extends Controller{
    public function _initialize()
    {
        if(!cookie('aduid')){
            $this->redirect('admin/user/index');
        }
        $actionName=request()->action();
        $this->assign('actionName',$actionName);
    }
}